Skip to content

[opencv_core] & [opencv_dart] with android auto ignore unuse abi #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 24, 2025

Conversation

einsitang
Copy link
Contributor

build android apk without unuse abi dynamic file

same issue like #211 , oepncv_dart 1.4.1 not support this way , so provide support for this part , and dont use env OPENCV_DART_ANDROID_ENABLED_ABI anymore

case :

before

$ flutter build apk          

[OPENCV_CORE] only support platform : [android-arm, android-arm64, android-x64]
[OPENCV_CORE] exclude abi : [x86]
✓ Built build/app/outputs/flutter-apk/app-release.apk (195.5MB)

after

$ flutter build apk --release --target-platform=android-arm64,android-arm 

[OPENCV_CORE] only support platform : [android-arm64, android-arm]
[OPENCV_CORE] exclude abi : [x86, x86_64]
✓ Built build/app/outputs/flutter-apk/app-release.apk (136.2MB)

@einsitang
Copy link
Contributor Author

merge my code , hurry up pls.

@codecov-commenter
Copy link

codecov-commenter commented Mar 24, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.26%. Comparing base (9388410) to head (72a6f95).
Report is 1 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #348   +/-   ##
=======================================
  Coverage   93.26%   93.26%           
=======================================
  Files          50       50           
  Lines       10266    10266           
=======================================
  Hits         9575     9575           
  Misses        691      691           
Flag Coverage Δ
unittests 93.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rainyl
Copy link
Owner

rainyl commented Mar 24, 2025

looks fine. will merge it with some minor changes

@rainyl rainyl merged commit 57bd2c3 into rainyl:main Mar 24, 2025
1 check passed
@rainyl
Copy link
Owner

rainyl commented Mar 24, 2025

@einsitang Thanks for your contribution, LGTM now, merged.

You can try whether it works for you, if there are any problems, feel free to open new issues or PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants